package com.ygqh.baby.po;

import java.math.BigDecimal;
import java.util.Date;

import com.ygqh.baby.ao.AppType;
import com.ygqh.baby.ao.BusinessModule;
import com.ygqh.baby.ao.DataStatus;
import com.ygqh.baby.ao.PayType;

public class YgOrderPayment {
	private Long id;

	private BusinessModule businessModule;

	private String orderId;

	private String orderPayCode;

	private String transactionId;

	private BigDecimal price;

	private BigDecimal paidPrice;

	private Date paySuccessTime;

	private AppType appType;

	private PayType payType;

	private String remark;

	private DataStatus status;

	private Date createTime;

	private String prepayId;

	private String platformNo;

	private String platformName;

	public BusinessModule getBusinessModule() {
		return businessModule;
	}

	public void setBusinessModule(BusinessModule businessModule) {
		this.businessModule = businessModule;
	}

	public String getPrepayId() {
		return prepayId;
	}

	public void setPrepayId(String prepayId) {
		this.prepayId = prepayId;
	}

	public String getPlatformNo() {
		return platformNo;
	}

	public void setPlatformNo(String platformNo) {
		this.platformNo = platformNo;
	}

	public String getPlatformName() {
		return platformName;
	}

	public void setPlatformName(String platformName) {
		this.platformName = platformName;
	}

	public AppType getAppType() {
		return appType;
	}

	public void setAppType(AppType appType) {
		this.appType = appType;
	}

	public String getTransactionId() {
		return transactionId;
	}

	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public DataStatus getStatus() {
		return status;
	}

	public void setStatus(DataStatus status) {
		this.status = status;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getOrderPayCode() {
		return orderPayCode;
	}

	public void setOrderPayCode(String orderPayCode) {
		this.orderPayCode = orderPayCode == null ? null : orderPayCode.trim();
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public BigDecimal getPaidPrice() {
		return paidPrice;
	}

	public void setPaidPrice(BigDecimal paidPrice) {
		this.paidPrice = paidPrice;
	}

	public Date getPaySuccessTime() {
		return paySuccessTime;
	}

	public void setPaySuccessTime(Date paySuccessTime) {
		this.paySuccessTime = paySuccessTime;
	}

	public PayType getPayType() {
		return payType;
	}

	public void setPayType(PayType payType) {
		this.payType = payType == null ? null : payType;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	@Override
	public String toString() {
		return "YgOrderPayment [id=" + id + ", orderId=" + orderId + ", orderPayCode=" + orderPayCode + ", price=" + price + ", paidPrice=" + paidPrice
				+ ", paySuccessTime=" + paySuccessTime + ", payType=" + payType + ", remark=" + remark + ", status=" + status + ", createTime=" + createTime
				+ "]";
	}

}